package ${sourceBasePackage}.dto<#if sourceIncludeModule == 'Y'>.${moduleName}</#if>;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;


/**
 * ${description}DTO类
 *
 * @author ${author}
 * @since ${createDate}
 */
@ApiModel(description = "${description}DTO")
@Data
public class ${entityName}DTO implements Serializable {

    private static final long serialVersionUID = 1L;

	<#list fields as po>
    <#if po.primaryKey == 'Y' || po.formShow == 'Y'>
    /**
     * ${po.description}
     */
    @ApiModelProperty(value = "${po.description}")
    <#if po.propertyType == 'Date'>
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    </#if>
	private ${po.propertyType} ${po.propertyName};
	</#if>
	</#list>

}
